package Mangos::DB::Mangos::GameGraveyardZone;

use strict;

use base qw(Mangos::DB::Mangos);

__PACKAGE__->meta->setup
(
    table   => 'game_graveyard_zone',

    columns => 
    [
        id         => { type => 'integer', not_null => 1 },
        ghost_zone => { type => 'integer', not_null => 1 },
        faction    => { type => 'integer', default => '0', not_null => 1 },
    ],

    primary_key_columns => [ 'id', 'ghost_zone' ],
);

1;

package Mangos::DB::Mangos::GameGraveyardZone::Manager;

use strict;
use warnings;

use base 'Rose::DB::Object::Manager';

sub object_class { 'Mangos::DB::Mangos::GameGraveyardZone' }

__PACKAGE__->make_manager_methods('game_graveyard_zone');

1;
